package com.tangji.signaltower.service.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.tangji.signaltower.service.dao.inter.UserWanningListDao;
import com.tangji.signaltower.service.dao.entity.UserWanningListEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* User: anonymous
* Date: 2020-09-17
* Time: 18:34:48.914
*/

@Repository
public class UserWanningListDaoImpl extends AbstractBaseMapper<UserWanningListEntity> implements UserWanningListDao {


    @Override
    public List<UserWanningListEntity> getAllWarningUsers() {

        Map<String, Object> params = new HashMap<>();
        return getSqlSession().selectList(getStatement("getAllWarningUsers"), params);
    }
}